//
//  HOMeterRecordEntity.m
//  微度报修
//
//  Created by foguo-mac-1 on 6/15/16.
//  Copyright © 2016 WeiDu. All rights reserved.
//

#import "HOMeterRecordEntity.h"
#import "HOConstants.h"

@implementation HOMeterRecordEntity
- (void)parseDic:(NSDictionary *)dic
{
	self.meterId 	= [[dic objectForKey:kHO_FIELD_MeterId] intValue];
	self.meterAddress 	= [dic  objectForKey:kHO_FIELD_MeterAddress];
	self.meterType 	= [dic  objectForKey:kHO_FIELD_MeterType];
	self.time	    = [[dic objectForKey:kHO_FIELD_Time] doubleValue];
	self.meterValue = [[dic objectForKey:kHO_FIELD_MeterValue] floatValue];
	
}


- (void)dealloc
{
	self.meterAddress = nil;
	self.meterType = nil;
	[super dealloc];
}
@end
